package org.pp.mapper;


import org.pp.entity.PpCart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.pp.vo.MiniappCartVo;

import java.util.List;

/**
 * <p>
 * 购物车表 Mapper 接口
 * </p>
 *
 * @author haima
 * @since 2024-10-02
 */
@Mapper
public interface PpCartMapper extends BaseMapper<PpCart> {

    Long getCount(Long userId);

    List<MiniappCartVo> pageList(Long userId);

}
